package com.ccc.dingtalk;

import com.ccc.dingtalk.config.AppStartUtil;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * @author superC
 * @version 2.0.0
 * @date 2023/8/7
 */

@SpringBootApplication(scanBasePackages = {
        "com.ccc.dingtalk",
})
@EnableScheduling
@EnableCaching
public class DingtalkStartApplication {
    protected static final Logger logger = LoggerFactory.getLogger(DingtalkStartApplication.class);

    public static void main(String[] args) {
        SpringApplication.run(DingtalkStartApplication.class, args);
        AppStartUtil.start();
    }

}
